package com.mytx.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class Advertisement {
    private String id;

    private String uId;//用户id

    @Deprecated
    private String oId;//offerId

    private String rId;// liveRoomId 直播间id 也是直播间关联的topicId

    private String dId;//生成的捐赠id

    private String title;

    private BigDecimal amount;
    //广告位保证金
    private BigDecimal deposit;

    private BigDecimal donationAmount;

    private Date startDate;

    private Date endDate;

    private Date auctionStartDate;

    private Date auctionEndDate;

    private String picture;

    private String video;

    private String forwardTopicId;

    private String forwardUrl;

    private Integer offerCount;

    private Integer updateCount;

    private Integer type;

    private Integer status;

    private Date created;

    private Date updated;

    private MyFile myFile;

    private User targetUser;

    public Advertisement(String id, String uId, String oId, String rId, String dId, String title, BigDecimal amount, BigDecimal deposit, BigDecimal donationAmount, Date startDate, Date endDate, Date auctionStartDate, Date auctionEndDate, String picture, String video, String forwardTopicId, String forwardUrl, Integer offerCount, Integer updateCount, Integer type, Integer status, Date created, Date updated) {
        this.id = id;
        this.uId = uId;
        this.oId = oId;
        this.rId = rId;
        this.dId = dId;
        this.title = title;
        this.amount = amount;
        this.deposit = deposit;
        this.donationAmount = donationAmount;
        this.startDate = startDate;
        this.endDate = endDate;
        this.auctionStartDate = auctionStartDate;
        this.auctionEndDate = auctionEndDate;
        this.picture = picture;
        this.video = video;
        this.forwardTopicId = forwardTopicId;
        this.forwardUrl = forwardUrl;
        this.offerCount = offerCount;
        this.updateCount = updateCount;
        this.type = type;
        this.status = status;
        this.created = created;
        this.updated = updated;
    }

    public Advertisement() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }


    public String getuId() {
        return uId;
    }

    public void setuId(String uId) {
        this.uId = uId;
    }

    public String getoId() {
        return oId;
    }

    public void setoId(String oId) {
        this.oId = oId == null ? null : oId.trim();
    }

    public String getrId() {
        return rId;
    }

    public void setrId(String rId) {
        this.rId = rId == null ? null : rId.trim();
    }

    public String getdId() {
        return dId;
    }

    public void setdId(String dId) {
        this.dId = dId == null ? null : dId.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getDeposit() {
        return deposit;
    }

    public void setDeposit(BigDecimal deposit) {
        this.deposit = deposit;
    }

    public BigDecimal getDonationAmount() {
        return donationAmount;
    }

    public void setDonationAmount(BigDecimal donationAmount) {
        this.donationAmount = donationAmount;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Date getAuctionStartDate() {
        return auctionStartDate;
    }

    public void setAuctionStartDate(Date auctionStartDate) {
        this.auctionStartDate = auctionStartDate;
    }

    public Date getAuctionEndDate() {
        return auctionEndDate;
    }

    public void setAuctionEndDate(Date auctionEndDate) {
        this.auctionEndDate = auctionEndDate;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture == null ? null : picture.trim();
    }

    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video == null ? null : video.trim();
    }

    public String getForwardTopicId() {
        return forwardTopicId;
    }

    public void setForwardTopicId(String forwardTopicId) {
        this.forwardTopicId = forwardTopicId;
    }

    public String getForwardUrl() {
        return forwardUrl;
    }

    public void setForwardUrl(String forwardUrl) {
        this.forwardUrl = forwardUrl == null ? null : forwardUrl.trim();
    }

    public Integer getOfferCount() {
        return offerCount;
    }

    public void setOfferCount(Integer offerCount) {
        this.offerCount = offerCount;
    }

    public Integer getUpdateCount() {
        return updateCount;
    }

    public void setUpdateCount(Integer updateCount) {
        this.updateCount = updateCount;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    public MyFile getMyFile() {
        return myFile;
    }

    public void setMyFile(MyFile myFile) {
        this.myFile = myFile;
    }

    public User getTargetUser() {
        return targetUser;
    }

    public void setTargetUser(User targetUser) {
        this.targetUser = targetUser;
    }
}